﻿ 
namespace Core.Items.Modules
{
    /*

		MetaGroup                      = EngineeringEquipment
		Group                          = EnergyDrainers
		Size                           = Medium
		Module                         = niani medium energy drainer
		CpuUsage                       = 63.00 TF
		ReactorUsage                   = 200.00 RP
		Type                           = Active
		Slot                           = Other
		TechnologicalLevel             = T3-
		Mass                           = 450.00 kg
		PackedVolume                   = 0.50 U
		Volume                         = 1.00 U
		AccumulatorConsumption         = 15.00 AP
		CycleTime                      = 10.00 sec
		OptimalRange                   = 275 m
		DrainedEnergy                  = 100 AP
		ElectrostaticDispersion        = 10.00 •
    */

    using System;
    using Base;
    using Contracts.Enums;
    using Contracts.Interfaces;
    using Extensions;
    using Features;
    
    /// <summary>
    /// Niani medium energy drainer module class
    /// </summary>
    /// <remarks>File generated on 31/10/2011 16:00:54</remarks>
    public sealed class NianiMediumEnergyDrainer : ModuleBase
    {
        /// <summary>
        /// Create a new instance of the <see cref="NianiMediumEnergyDrainer"/> class.
        /// </summary>
        public NianiMediumEnergyDrainer()
            : base(
            "Niani medium energy drainer",
            "",
            ModuleMetaGroupsEnum.EngineeringEquipment,
            ModuleGroupsEnum.EnergyDrainers,
            TechnologyLevelsEnum.Niani,
            SizesEnum.Medium,
            new LazyFeature[] { 
				new LazyFeature(typeof(EngineeringCpuUsage<double>),63.00),
				new LazyFeature(typeof(ReactorUsage<double>),200.00),
				new LazyFeature(typeof(ModuleMass<double>),450.00),
				new LazyFeature(typeof(DrainerAccumulatorUsage<double>),15.00),
				new LazyFeature(typeof(EnergyDrainerCycleTime<double>),10.00),
				new LazyFeature(typeof(EnergyDrainerOptimal<double>),275),
				new LazyFeature(typeof(EnergyDrainerDrainedEnergy<double>),-100),
				new LazyFeature(typeof(EnergyDrainerElectrostaticDispersion<double>),10.00), },
            null,
            new IModifier[] { 
				new Modifier( FeatureTypesEnum.Robot, FeaturesEnum.RobotMass, 450.00 ){ IsVisible = false }, } )
        {
        }

        /// <summary>
        /// Obtains the activation type
        /// </summary>
        public override ModuleActivationTypesEnum ActivationType
        {
            get { return ModuleActivationTypesEnum.Active; }
        }
        /// <summary>
        /// Obtains the module slot group 
        /// </summary>
        public override SlotGroupsEnum SlotGroup
        {
            get { return SlotGroupsEnum.Chassis; }
        }
        /// <summary>
        /// Obtains the module slot type 
        /// </summary>
        public override SlotTypesEnum SlotType
        {
            get { return SlotTypesEnum.Misc; }
        }
    }
}